Change in openvpn[master]: Fix new doxygen warnings about using @return in void functions
A message that is not in the archive (sent off-list or not yet received): gerrit.1751466242000.Ia5a5b8d2a8ca5901346aad41efc4ff90a9a45273@...2715...
Attention is currently required from: plaisthos.
Hello plaisthos,
I'd like you to do a code review.
Please visit
http://gerrit.openvpn.net/c/openvpn/+/1072?usp=email
to review the following change.
Change subject: Fix new doxygen warnings about using @return in void functions
......................................................................
Fix new doxygen warnings about using @return in void functions
These seem to have been added in a more recent doxygen version than I previously tested with.
---
M src/openvpn/crypto.h
M src/openvpn/fragment.h
M src/openvpn/push.c
3 files changed, 8 insertions(+), 8 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/72/1072/1
src/openvpn/crypto.h +2 -2
@@ -467,12 +467,12 @@* If an error occurs during processing, then the \a buf %buffer is set to * empty. * -* @param buf - The %buffer containing the packet on which to +* @param[in,out] buf - The %buffer containing the packet on which to * perform security operations. * @param work - An initialized working %buffer. * @param opt - The security parameter state for this VPN tunnel. * -* @return This function returns void.\n On return, the \a buf argument +* @note On return, the \a buf argument * will point to the resulting %buffer. This %buffer will either * contain the processed packet ready for sending, or be empty if an * error occurred.
src/openvpn/fragment.h +6 -4
@@ -309,7 +309,7 @@* * @param f - The \c fragment_master structure for this VPN * tunnel. -* @param buf - A pointer to the buffer structure containing the +* @param[in,out] buf - A pointer to the buffer structure containing the * incoming packet. This pointer will have been * modified on return either to point to a * completely reassembled packet, or to have length
@@ -317,7 +317,8 @@* @param frame - The packet geometry parameters for this VPN * tunnel. * -* @return Void.\n On return, the \a buf argument will point to a buffer. +* @note On return the \a buf argument buffer will be modified +* to communicate the result of the function. * The buffer will have nonzero length if the incoming packet passed * to this function was whole and unfragmented, or if it was the final * part of a fragmented packet thereby completing reassembly. On the
@@ -363,14 +364,15 @@* * @param f - The \c fragment_master structure for this VPN * tunnel. -* @param buf - A pointer to the buffer structure containing the +* @param[in,out] buf - A pointer to the buffer structure containing the * outgoing packet. This pointer will be modified * to point to a whole unfragmented packet or to the * first part of a fragmented packet on return. * @param frame - The packet geometry parameters for this VPN * tunnel. * -* @return Void.\n On return, the \a buf argument will point to a buffer. +* @note On return the \a buf argument buffer will be modified +* to communicate the result of the function. * This buffer contains either the whole original outgoing packet if * fragmentation was not necessary, or the first part of the * fragmented outgoing packet if fragmentation was necessary. In both
src/openvpn/push.c +0 -2
@@ -582,8 +582,6 @@* @param tls_multi tls multi context of VPN tunnel * @param gc gc arena for allocating push options * @param push_list push list to where options are added -* -* @return true on success, false on failure. */ void prepare_auth_token_push_reply(struct tls_multi *tls_multi, struct gc_arena *gc,
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1072?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ia5a5b8d2a8ca5901346aad41efc4ff90a9a45273
Gerrit-Change-Number: 1072
Gerrit-PatchSet: 1
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-MessageType: newchange
flichtenheld has abandoned this change. ( http://gerrit.openvpn.net/c/openvpn/+/1072?usp=email )
Change subject: Fix new doxygen warnings about using @return in void functions
......................................................................
Abandoned
duplicate
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1072?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ia5a5b8d2a8ca5901346aad41efc4ff90a9a45273
Gerrit-Change-Number: 1072
Gerrit-PatchSet: 1
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-MessageType: abandon